<?php
/**
 * Created by PhpStorm.
 * User: zing
 * Date: 2018/10/12
 * Time: 11:41
 */

//Sets which PHP errors are reported
//32767
echo error_reporting().PHP_EOL;

error_reporting(E_ALL);
echo error_reporting().PHP_EOL;

error_reporting(E_ERROR);
echo error_reporting().PHP_EOL;


error_reporting(E_COMPILE_ERROR);
echo error_reporting().PHP_EOL;
//
error_reporting(E_ALL);
error_reporting(E_ERROR);
echo 1/0;
